package cn.edu.scau.cmi.luochenghao.chapter10;
import java.io.*;
public class Example10_3 {

	public static void main(String agrs[]) {
		try {
			Runtime ce=Runtime.getRuntime();
			File file = new File("/Applications","Safari.app");
			ce.exec(file.getAbsolutePath());
		}catch (IOException e) {
			System.out.println(e);
		}
	}

}
